<<section name=pagejs loop=$pageJavascripts>>
<script language='javascript' src='<<$pageJavascripts[pagejs]>>'></script>
<</section>>
<div style="font-size:12px;">
This banner will be shown on the search pages.
<<if ($chk_width != "")>>
You should upload an image with size <<$chk_width>> x <<$chk_height>> pixels.
<</if>>
<<if ($chk_minwidth)>>
Minimum size is <<$chk_minwidth>> x <<$chk_minheight>> pixels.
<</if>>
</div>
<form target="hidden" name="uploadform" method="post" enctype="multipart/form-data" action="index.php?mode=service&page=popup_logoupload&service=upload">
    <table>
        <tr><td><label for="name"></td><td><input type="text" name="name" value="" style="width:390px;"></td></tr>
    </table>
    <input type="hidden" name="chk_width" value="<<$chk_width>>">
    <input type="hidden" name="chk_height" value="<<$chk_height>>">
    <input type="hidden" name="chk_minwidth" value="<<$chk_minwidth>>">
    <input type="hidden" name="chk_minheight" value="<<$chk_minheight>>">

    <input type="hidden" name="MAX_FILE_SIZE" value="2000000">
    <input type="hidden" name="popup_id" value="<<$popup_id>>">
<<if ($file_id)>>
    <input type="hidden" name="file_id" value="<<$file_id>>">
<</if>>
    <input type="file" name="logofile" style="display:none;" onchange="jQuery('input[name=\'name\']').val(this.value);">
</form>

<iframe name="hidden" src="" style="display:none;"></iframe>
